package com.usf.jprovider.schema.provider.adapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;

import com.usf.jprovider.object.JObjectNode;
import com.usf.jprovider.schema.provider.AbstractProvider;
import com.usf.jprovider.schema.provider.adapter.date.AbstractDateAdapter;

@XmlSeeAlso({
	AbstractDateAdapter.class
})

public abstract class AbstractProviderAdapter extends AbstractProvider{

	@XmlElement protected AbstractProvider provider;

	public AbstractProviderAdapter() {
		super();
	}
	public AbstractProvider getProvider() {
		return provider;
	}
	
	@Override
	public boolean isDependent(JObjectNode node) throws Exception {
		return provider.isDependent(node);
	}
	
}
